import pymysql

db =  pymysql.connect('localhost','admin1', 'admin1','player')
cursor = db.cursor()
sql = '''select * from per_game'''
cursor.execute(sql)
results = cursor.fetchall()
print(results)
db.close()